/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.kramerius.fedoraaccess.metadataUpdate.datastream;

import cz.mzk.rehan.commons.DatastreamId;
import cz.mzk.kramerius.fedoraaccess.FedoraConnector;

/**
 *
 * @author Martin Řehánek <rehan at mzk.cz>
 */
public abstract class DatastreamUpdater {

    protected final FedoraConnector con;
    public final DatastreamId dsId;

    public DatastreamUpdater(FedoraConnector con, DatastreamId dsId) {
        this.con = con;
        this.dsId = dsId;

    }

    public abstract void updateDatastream(String pid) throws Exception;
}
